package com.gitee.huanminabc.db_freedom;

import com.baomidou.mybatisplus.core.injector.AbstractMethod;
import com.baomidou.mybatisplus.core.injector.DefaultSqlInjector;
import com.baomidou.mybatisplus.core.metadata.TableInfo;
import com.gitee.huanminabc.db_freedom.methods.*;

import java.util.List;

public class FreedomSqlInjector extends DefaultSqlInjector {
    @Override
    public List<AbstractMethod> getMethodList(Class<?> mapperClass, TableInfo tableInfo) {
        List<AbstractMethod> methodList = super.getMethodList(mapperClass, tableInfo);
        methodList.add(new SelectFreedomList());
        methodList.add(new SelectFreedomOne());
        methodList.add(new SelectFreedomMap());
        methodList.add(new SelectFreedomMaps());
        methodList.add(new ExecuteFreedom());
        return methodList;
    }
}
